home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / batchlrn.arc / ECHO.HLP < prev    next >
Text File  |  1991-06-17  |  3KB  |  50 lines

  1.                 # #
  2.                 # #
  3.                 # #
  4.                 # #
  5.                 # #
  6.                 # #
  7.                 # #
  8. |---------------B A T C H L R N  H E L P  S Y S T E M-----------------|
  9. |command: ECHO                                                        |
  10. |use: The batch command ECHO lets you choose whether or not to have   |
  11. | the commands in your batch file displayed on the CRT screen as they |
  12. | are performed. ECHO is also used for message display (no commands   |
  13. | are shown). SEE NOTES SECTION BELOW.                                |
  14. |                                      |
  15. |how: Type: ECHO ON    O-R ECHO OFF [for message sequencing]          |
  16. |                                                                     |
  17. |examples: REFER TO ANY TIMEMASTER .BAT FILES ON THIS DISK            |
  18. |                                                                     |
  19. |notes: Commands in a batch file are normally displayed as they are   |
  20. | performed by your computer. If you enter ECHO OFF into a batch file |
  21. | the commands are not displayed when they are performed. Command dis-|
  22. | play while a batch processing file is operating can be distracting. |
  23. | If you display the commands have a good reason for it!              |
  24. |     A little known (useless?) feature is to type: ECHO <ret> at the |
  25. | prompt, which displays current status of ECHO. If you type ECHO OFF |
  26. | <ret> the prompt will disappear. Type:ECHO ON to restore!           |
  27. |     If ECHO is set to OFF,you can use ECHO <your message>to display |
  28. | text on screen. You can use this ONLY in a batch processing file.   |
  29. | ECHO sends a message to the CRT screen. It helps organize and  ex-  |
  30. | plain on the screen when a batch file executes. Normally, all batch |
  31. | file commands would show on the screen as the file performs. To pre-|
  32. | vent this echoing type:  ECHO OFF at the beginning. In particularly |
  33. | long batch files you may have to do this after several or all of the|
  34. | message echoeing sequences. This becomes especially true when you   |
  35. | are commanding the display of multiple page ascii text files or     |
  36. | when showing long files a page at a time with the DOS MORE command. |
  37. | Your test run of the batch file you create will show you whether or |
  38. | not additional ECHO OFF cmds are necessary. We always"follow-on"the |
  39. | ECHO OFF with a CLS on the next line. This keeps the on-screen co-  |
  40. | mmand distraction to a minimum. If you examine the .BAT & .EX files |
  41. | on this disk you will see the use of ECHO in TIMEMASTER'S efforts.  |
  42. |     When ECHO is OFF none of the actual DOS commands in the batch   |
  43. | file will show on the screen. To display a message put it after tbe |
  44. | command:         ECHO  . . .MY DOG HAS FLEAS!. . .                  |
  45. | (Watch the placement, trying for message centering on the screen).  |
  46. |     As you will see in REM.HLP,that command also displays messages. |
  47. | You will learn,however, that is not the case if ECHO is OFF.        |
  48. |                                                                     |
  49. |----------------- T  I  M  E  M  A  S  T  E  R  ---------------------|
  50.